package com.vincent.sciinfo.service;

import com.vincent.sciinfo.interceptor.FeignPassToken;
import com.vincent.sciinfo.pojo.Meeting;
import com.vincent.sciinfo.pojo.TakeMeeting;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(value = "service-meeting", configuration = FeignPassToken.class)
public interface MeetingService {

    @RequestMapping("/meeting/selectAllMeetings")
    List<Meeting> selectAllMeeting();

}
